<template>
  <transition name="fade" mode="out-in">
    <!-- 嵌套路由 -->
    <router-view />
  </transition>
</template>
<style lang="less" scoped>
@import '@/style/variables';

.fade-leave-active,
.fade-enter-active {
  transition: opacity @anim-duration-slow @anim-time-fn-easing;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
</style>
